<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let obj = {
            a: 1,
            b: 2
        }
        console.log(obj);
        console.log(obj.hasOwnProperty('a'));
        console.log(obj.toLocaleString());
        console.log(obj.toString());
        console.log(obj.valueOf());
    </script>
</body>
</html>